package com.example.chengma.web;

import lombok.Data;

import java.time.LocalDateTime;
import java.util.ArrayList;

@Data
public class JsonResult {
    private Integer id;
    private Integer comment;
    private Integer questionId;
    private Integer replyId;
    private LocalDateTime createTime;
    private String createUser;
    private Integer likeCount;
    private Integer collectedCount;
    private Integer repliedCount;
    private Boolean likedFlag = false;
    private Boolean collectedFlag = false;
    private ArrayList<JsonResult> children;
}
